package com.ls.knowledge.llm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.*;
import org.springframework.ai.chat.messages.MessageType;

/**
 * <p>
 *
 * </p>
 *
 * @author ls
 * @since 2025-07-04
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("biz_chat_conversation_message")
public class ChatConversationMessage implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableId(value = "uuid", type = IdType.ASSIGN_UUID)
    private String uuid;

    private String message;

    private String thinkMessage;

    private String conversationUuid;

    private MessageType messageType;

    private LocalDateTime createTime;

    private Integer status;
}
